package org.study.springboot.quartz.job;

import cn.hutool.core.date.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.study.springboot.quartz.job.base.BaseJob;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/11/17 5:48 下午
 */
@Slf4j
public class HelloJob implements BaseJob {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.error("Hello Job 执行时间：{}", DateUtil.now());
    }
}
